From: Florian Müllner Date: Thu, 13 Apr 2023 20:47:26 +0000 (+0200) Subject: shell/perf-helper: Remove unused struct members X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~337^2~2^2~44 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e9ec45e5e33dd764b9496256891ee937328a72b1;p=gnome-shell.git shell/perf-helper: Remove unused struct members Some parameters are only relevant when creating the window, and are therefore never read from the window info struct. Part-of: --- diff --git a/src/shell-perf-helper.c b/src/shell-perf-helper.c index 16cbb748d..addf011e9 100644 --- a/src/shell-perf-helper.c +++ b/src/shell-perf-helper.c @@ -38,11 +38,8 @@ static const gchar introspection_xml[] = typedef struct { GtkWidget *window; - int width; - int height; guint alpha : 1; - guint maximized : 1; guint redraws : 1; guint mapped : 1; guint exposed : 1; @@ -209,10 +206,7 @@ create_window (int width, GtkWidget *child; info = g_new0 (WindowInfo, 1); - info->width = width; - info->height = height; info->alpha = alpha; - info->maximized = maximized; info->redraws = redraws; info->window = gtk_window_new (GTK_WINDOW_TOPLEVEL); if (alpha)